Blog

Luis Majano

August 06, 2013

Spread the word


Share your thoughts

 

Today we are releasing an open source Couchbase provider for our CacheBox library whether you use it standalone or within a ColdBox application.  We have been working with Couchbase NoSQL server and have been absolutely loving it.  This provider will allow you to leverage Couchbase Server from any CFML application that leverages CacheBox for your caching needs.  We have created two providers in our initial release: 1) For standalone Couchbase integration in any CFML application, 2) For ColdBox applications.  The latter will allow you to hook up Couchbase to your ColdBox applications and even allow you to use it for event and view caching alongside data caching.  We also take care of serializations and Java inter-operability for Adobe ColdFusion and Railo CFML as well.  You can also leverage the Couchbase ColdBox provider for Flash RAM capabilities as well.  As with anything we do here at Ortus, this provider is fully documented and professionally supported.

About Provider

Caching is an important layer in today's applications that require high availability in clustered and standalone environments alike.  Caching demands require fast performance, lots of storage, and the ability to scale horizontally so your cache infrastructure can grow with your needs.  We take caching seriously which is why we've built tools like CacheBoxwhich is not only a caching engine, but an aggregator and API for other cache systems.  In-process caches, which run on the JVM alongside your application and share the same heap space, are convenient and easy to set up, but they have many limitations when it comes to scalability and redundancy. 

This is why we've spent time learning about other out-of-process and distributed caching strategies and have been working with Couchbase for a while now.  Even though, Couchbase is in itself a NoSQL Database, it is also an amalgamation of CouchDB and Memcached on steroids with clustering, replication and distributed capabilities.

Couchbase Server

 

Couchbase is a combination of CouchDB's NoSQL engine with over-the-wire compatibility with the Memcached protocol-- a standard in the caching world.  Couchbase can be used as an indexable, queryable JSON  document store or a simple key/value store.  Main benefits of Couchbase server are:

  • Clustered - You can scale out a Couchbase cluster as large as you need it.  There’s even cross data center replication (XDCR) for multiple, geo-located clusters and disastery recovery.
  • Some solutions are RAM-only or Disk-only, but Couchbase uses a combination of RAM and Disk storage for its data.
  • Data Replication and Auto-Failover: This is an amazing feature for high availability and redundancy that comes out of the box with Couchbase.
  • Since Couchbase implements the Memcached protocol, it can be a drop-in replacement for Memcached to allow for things like larger document sizes.
  • Unlike Memcached, Couchbase Server gives you any number of named storage locations called vBuckets; each of which have their own storage, configurations, document views and statistics.
  • It has a really nice web-based real-time interface for managing it.  Very nice for a free open source offering!
  • It’s fast-- REALLY fast.  Every operation is asynchronous and setting a simple value into Couchbase can be as fast as 25 microseconds. That’s .000025 seconds!
  • They have client SDK libraries available for Java, .Net, PHP, Ruby, C, Python and others so it’s very accessible from any project.  The Java SDK is what we use to connect to Couchbase via CFML. (They also have experimental  libraries for node.js and go)
  • It’s professionally backed, just like ColdBox and ContentBox so professional licenses are available that come with support programs.

Resources

Add Your Comment

(3)

Dec 17, 2018 11:04:01 UTC

by Mark Skelton

The Download Provider link in the resources section is broken.

Dec 17, 2018 11:49:18 UTC

by Brad Wood

Thanks for the note Mark. The new download URL for the CacheBox provider is: https://www.forgebox.io/view/couchbase-cachebox-provider Disregard the first version of this comment you may have seen in your E-mail. I thought you were asking about the Couchbase Lucee extension at first!

May 10, 2021 19:46:25 UTC

by Mary Jo Sminkey

Just a correction from this original blog post to the situation today, that it appears the provider is no longer available in a standalone version. We are needing to upgrade our wirebox/cachebox/couchbase provider setup on CF 11 for migration to newer CF servers, and this portion seems to be the only one that is not still available in a standalone component, only in a ColdBox module. Working to try and work out how to do a standalone version but it's definitely not a simple matter to convert it over.

Recent Entries

Ortus June 2024 Newsletter!

Ortus June 2024 Newsletter!

Welcome to the latest edition of the Ortus Newsletter! This month, we're excited to bring you highlights from our sessions at CFCamp and Open South Code, as well as a sneak peek into our upcoming events. Discover the latest developments in BoxLang, our dynamic new JVM language, and catch up on all the insightful presentations by our expert team. Let's dive in!

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang June 2024 Newsletter!

BoxLang June 2024 Newsletter!

We're thrilled to bring you the latest updates and exciting developments from the world of BoxLang. This month, we're diving into the newest beta release, introducing a new podcast series, showcasing innovative integrations, and sharing insights from recent events. Whether you're a seasoned developer or just getting started, there's something here for everyone to explore and enjoy.

Maria Jose Herrera
Maria Jose Herrera
June 28, 2024
BoxLang 1.0.0 Beta 3 Launched

BoxLang 1.0.0 Beta 3 Launched

We are thrilled to announce the release of BoxLang 1.0.0-Beta 3! This latest beta version is packed with exciting new features and essential bug fixes, including robust encryption functionality, enhanced Java interoperability, and more efficient event handling. Key highlights include the introduction of query caching capabilities, seamless coercion of Java Single Abstract Method (SAM) interfaces from BoxLang functions, and support for virtual thread executors. So, let’s dive into the details of what’s new in BoxLang 1.0.0-Beta 3 and how you can start leveraging these updates today!

Luis Majano
Luis Majano
June 28, 2024